package com.p2p.user.mapper;

import java.util.List;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.p2p.user.po.Permission;
import com.p2p.user.vo.PermissionVo;

public interface PermissionMapper extends BaseMapper<Permission> {

	List<Long> selectAllIds();

	List<Permission> selectPermissionByRoleId(Long roleId);

	List<PermissionVo> selectPermissionVo();
}